package com.youlu.campus.entity.card.entity;

import com.youlu.campus.base.base.EntityBase;
import lombok.Data;
import lombok.ToString;
import org.springframework.data.mongodb.core.index.Indexed;
import org.springframework.data.mongodb.core.mapping.Document;

/**
 * @author : [dengbo]
 * @className : TxThirdGoods
 * @description : [腾讯三方虚拟商品]
 * @createTime : [2022/12/2 15:42]
 */
@Data
@Document(collection = "vip_goods")
@ToString
public class VipGoods extends EntityBase {
    /**
     * 商品id
     */
    @Indexed
    private String productId;
    /**
     * 商品名称
     */
    private String productName;
    /**
     * 多少小时后生效
     */
    private Integer expireAfterHour;
    /**
     * 有效天数
     */
    private Integer expireDay;

}
